package com.huxuesong.prcc.ums.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hxs
 * @since 2019-08-26
 */
@TableName("ums_member_transfer_info")
@Data
public class UmsMemberTransferInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "transfer_id", type = IdType.AUTO)
    private Integer transferId;

    @TableField("user_name")
    private String userName;

    private BigDecimal prcc;

    @TableField("prcc_lock")
    private BigDecimal prccLock;

    @TableField("s_token")
    private BigDecimal sToken;

    private BigDecimal eth;

    @TableField("eth_lock")
    private BigDecimal ethLock;

    private BigDecimal usdt;

    @TableField("usdt_lock")
    private BigDecimal usdtLock;

    private BigDecimal yuanbao;

    @TableField("transfer_type")
    private Integer transferType;

    /**
     * 交易描述
     */
    @TableField("transfer_desc")
    private String transferDesc;

    @TableField("recv_coin_address")
    private String recvCoinAddress;

    private String bz;

    private String hash;

    @TableField("begin_time")
    private LocalDateTime beginTime;

    @TableField("end_time")
    private LocalDateTime endTime;

    /**
     * 0，完成
       1，待确认
     */
    private Integer status;

    /**
     * 返回信息描述
     */
    @TableField("res_msg")
    private String resMsg;

    @TableField("from_address")
    private String fromAddress;

    @TableField("to_address")
    private String toAddress;

    @TableField("block_number")
    private Integer blockNumber;

    @TableField("tree_prcc")
    private BigDecimal treePrcc;

    @TableField("prcc_dongjie")
    private BigDecimal prccDongjie;

    public Integer getTransferId() {
        return transferId;
    }

    public void setTransferId(Integer transferId) {
        this.transferId = transferId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public BigDecimal getPrcc() {
        return prcc;
    }

    public void setPrcc(BigDecimal prcc) {
        this.prcc = prcc;
    }

    public BigDecimal getPrccLock() {
        return prccLock;
    }

    public void setPrccLock(BigDecimal prccLock) {
        this.prccLock = prccLock;
    }

    public BigDecimal getSToken() {
        return sToken;
    }

    public void setSToken(BigDecimal sToken) {
        this.sToken = sToken;
    }

    public BigDecimal getEth() {
        return eth;
    }

    public void setEth(BigDecimal eth) {
        this.eth = eth;
    }

    public BigDecimal getEthLock() {
        return ethLock;
    }

    public void setEthLock(BigDecimal ethLock) {
        this.ethLock = ethLock;
    }

    public BigDecimal getUsdt() {
        return usdt;
    }

    public void setUsdt(BigDecimal usdt) {
        this.usdt = usdt;
    }

    public BigDecimal getUsdtLock() {
        return usdtLock;
    }

    public void setUsdtLock(BigDecimal usdtLock) {
        this.usdtLock = usdtLock;
    }

    public BigDecimal getYuanbao() {
        return yuanbao;
    }

    public void setYuanbao(BigDecimal yuanbao) {
        this.yuanbao = yuanbao;
    }

    public Integer getTransferType() {
        return transferType;
    }

    public void setTransferType(Integer transferType) {
        this.transferType = transferType;
    }

    public String getTransferDesc() {
        return transferDesc;
    }

    public void setTransferDesc(String transferDesc) {
        this.transferDesc = transferDesc;
    }

    public String getRecvCoinAddress() {
        return recvCoinAddress;
    }

    public void setRecvCoinAddress(String recvCoinAddress) {
        this.recvCoinAddress = recvCoinAddress;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public String getHash() {
        return hash;
    }

    public void setHash(String hash) {
        this.hash = hash;
    }

    public LocalDateTime getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(LocalDateTime beginTime) {
        this.beginTime = beginTime;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getResMsg() {
        return resMsg;
    }

    public void setResMsg(String resMsg) {
        this.resMsg = resMsg;
    }

    public String getFromAddress() {
        return fromAddress;
    }

    public void setFromAddress(String fromAddress) {
        this.fromAddress = fromAddress;
    }

    public String getToAddress() {
        return toAddress;
    }

    public void setToAddress(String toAddress) {
        this.toAddress = toAddress;
    }

    public Integer getBlockNumber() {
        return blockNumber;
    }

    public void setBlockNumber(Integer blockNumber) {
        this.blockNumber = blockNumber;
    }


}
